<div class="content-table">
<div class="content-table-title"><?=$this->title?></div>
<div class="form-edit-task">

<?php if($this->msg):?>
<div class="replace"><?=$this->msg?></div>
<?php endif;?>

<form action="/bk/news-submit" method="post" name="form1" onsubmit="return submitform(this)">
<span>开关：</span><input type="radio" name="news_switch" id="news_switch" value="1" <?php if($this->info['news_switch']){echo "checked='checked'";}?>>&nbsp;开&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="news_switch" id="news_switch" value="0"<?php if(!$this->info['news_switch']){echo "checked='checked'";}?>>&nbsp;关<br/>
<span>内容：</span><textarea name="news_contents" id="news_contents" cols="30" rows="3" /><?=$this->info['news_contents']?></textarea><br/>
<input type="submit" class="buttonlong" value="确认" />
<br /><br />
</form>
</div>
</div>

<script>
function submitform() 
{
	form1.submit();
}
</script>